import {
  Sortable
} from 'sortablejs'
export default class Table {
  constructor() {
    this.el = document.querySelector('.table')
    this.init()
  }

  init() {
    new Sortable(this.el, {
      animation: 300,
      swapThreshold: 0.5,
      direction: 'horizontal',
    });
  }
}
